<template>
  <div class="advert-edit">
    <create-or-edit :advert-id="advertId" />
  </div>
</template>

<script lang="ts">
import Vue from 'vue'
import CreateOrEdit from './components/create-or-edit.vue'

export default Vue.extend({
  name: 'AdvertEditPage',
  components: {
    CreateOrEdit
  },
  props: {
    advertId: {
      type: [String, Number],
      required: true
    }
  }
})
</script>
